package com.lian.hope.model.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Builder;
import lombok.Data;

import java.time.LocalDateTime;

@Data
@Builder
@Schema(description = "通知信息VO")
public class NotificationVO {
   @Schema(description = "通知id")
    private Long id;

    @Schema(description = "通知内容")
    private String content;

   @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
   @Schema(description = "发送时间")
    private LocalDateTime sendTime;

}
